Git

Local machine

  1. Initialize a repository

    git int
  2. Tracking changing to document

    git add <filename>

commit

log

Remote repository

  1. Adding a remote repository

    git remot add <name> <url>
    • <name>: a unique name for the remote, often origin.
    • <url>: repository’s URL.